package com.lancer.backlog.beans;

/**
 * @author jq
 * @date Created in  2020/8/27  19:59
 * @description
 */
public class QueryPathDemand {
    private PathDemand pathDemand;
    private Integer pageNo;
    private Integer pageSize;

    public PathDemand getPathDemand() {
        return pathDemand;
    }

    public void setPathDemand(PathDemand pathDemand) {
        this.pathDemand = pathDemand;
    }

    public Integer getPageNo() {
        return pageNo;
    }

    public void setPageNo(Integer pageNo) {
        this.pageNo = pageNo;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
    public void makePage(Integer pageNo,Integer pageSize){
        if(pageNo==0||pageNo==null){
           pageNo=1;
        }
        if(pageNo==0||pageSize==null){
            pageSize=10;
        }
    }
}
